﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using CSM.System.Device;

namespace CSM.System.Route
{
	/// <summary>
	/// 线路系统管理类
	/// </summary>
	public static class RouteSystem
	{
		public static Company[] Companys = null;
	}

	/// <summary>
	/// 公交公司类
	/// </summary>
	public class Company
	{
		public long ID;
		public string Name;
		public Route[] Routes = null;
		public RoadTrain[] RoadTrains = null;
	}

	/// <summary>
	/// 线路类
	/// </summary>
	public class Route
	{
		public string Name;
		public List<Bus> Buses = new List<Bus>();
	}

	/// <summary>
	/// 车队类
	/// </summary>
	public class RoadTrain
	{
		public string Name;
		public List<Route> Routes = new List<Route>();
	}

	/// <summary>
	/// 公共汽车类，和每一台智能终端有一一对应关系
	/// </summary>
	public class Bus
	{
		public string BusID;
		public SmartDevice Dev;
		
	}
}
